
package timeitj.ejb.participance;

import java.util.List;
import javax.ejb.Local;
import timeitj.ejb.persistence.PersistenceManager;
import timeitj.persistence.Participance;
import timeitj.persistence.Person;
import timeitj.persistence.Project;


/**
 * This is the business interface for ParticipanceManager enterprise bean.
 */
@Local
public interface ParticipanceManager extends PersistenceManager<Participance, Long> {
    
    public List<Project> getProjectsByParticipant(Person participant);
    
    public List<Person> getParticipantsByProject(Project project);
    
    public List<Participance> getParticpipancesByPerson(Person person);
    
    public List<Participance> getParticpipancesByProject(Project project);
}
